<template>
	<view class="bountyHunter7">
<!-- 		导航栏
		<uni-nav-bar fixed="true" statusBar="true" backgroundColor="#007AFF" color="#fff">
			<template>
				<view class="title">政企管理</view>
			</template>
			<template slot="left">
				<uni-icons type="arrowleft" size="30" color="#fff"></uni-icons>
			</template>
			<template slot='right'>
				<navigator hover-class="none" url="/pages/bountyHunter7/publishTask/publishTask" class="navRight">
					<uni-icons type="plus" size="30" color="#fff"></uni-icons>
				</navigator>
			</template>
		</uni-nav-bar> -->
		<view class="bountyHunter7-header">
			<!-- 内容 -->
			<view class="bountyHunter7-header-box">
				<view>
					<text class="iconfont bountyHunter7-header-box-title" @tap="goHome">&#xe614;</text>
					<text>赏金猎人</text>
				</view>
				<view>
					<text class="iconfont" @tap="openAdd">&#xe661;</text>
				</view>
			</view>
		</view>
		<view class="padding30">
			<view>
				<view class="zqManginputBox">
					<uni-icons class="inputSearch" type="search" size="30" color="#ccc"></uni-icons>
					<input type="text" value="" placeholder="请输入关键字搜索" class="zqManageinput" />
				</view>
			</view>
			<view class="bountyItemBigBox">
				<view class="bountyItemBox">
					<navigator url="/pages/bountyHunter7/taskDtail/taskDtail" hover-class="none" class="justifyflex">
						<view class="bountyItemTItle">某某某任务</view>
						<view class="bountyItemPrince">20万</view>
					</navigator>
					<view class="flex">
						<image src="../../static/image/tabbar/tb51.png" class="bountyItemUser" mode=""></image>
						<text class="bountyItemName">王大锤</text>
					</view>
					<view>
						<view class="bountyItemLable">互联网</view>
						<view class="bountyItemLable">新媒体</view>
					</view>
				</view>
				<view class="bountyItemBox">
					<view class="justifyflex">
						<view class="bountyItemTItle">某某某任务</view>
						<view class="bountyItemPrince">20万</view>
					</view>
					<view class="flex">
						<image src="../../static/image/tabbar/tb51.png" class="bountyItemUser" mode=""></image>
						<text class="bountyItemName">王大锤</text>
					</view>
					<view>
						<view class="bountyItemLable">互联网</view>
						<view class="bountyItemLable">新媒体</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			/* 返回首页 */
			goHome: function() {
				console.log(1);
				uni.switchTab({
					url: '../index/index'
				})
			},
			openAdd:function(){
				uni.navigateTo({
					url:'./publishTask/publishTask'
				})
			}
		}
		
	}
</script>

<style  scoped lang="less">
	/* 引入color.less */
	@import url("../../static/color.less");
	
	/* 引入fontSize.less */
	@import url("../../static/fontSize.less");
	
	/* 主体 */
	.bountyHunter7 {
		background-color: #F5F5F5;
	}
	
	/* 头部 */
	.bountyHunter7-header {
		height: 150rpx;
		position: sticky;
		top: 0;
		background-color: @masterColor;
		z-index: 900;
	
		/* 内容 */
		.bountyHunter7-header-box {
			display: flex;
			width: 100%;
			height: 100rpx;
			position: absolute;
			bottom: 0;
			left: 0;
			color: @colorWrite;
			align-items: center;
			justify-content: space-between;
	
			view {
				&:first-child {
					width: 564rpx;
					font-size: @fontBigger;
	
					/* 标题 */
					.bountyHunter7-header-box-title {
						padding-left: 34rpx;
						font-size: @fontBigger;
					}
	
					&>text:last-child {
						white-space: nowrap;
						overflow: hidden;
						text-overflow: ellipsis;
					}
				}
	
				&:last-child {
					width: 78rpx;
					margin-right: 32rpx;
	
					image {
						width: 78rpx;
						height: 78rpx;
						border-radius: 50%;
					}
				}
	
				display: flex;
				align-items: center;
			}
			/* iconfont */
			.iconfont {
				margin: 0 25rpx 0 13rpx;
				font-weight: bold;
				font-size: 55rpx;
			}
		}
	}
	
	.title {
		text-align: center;
		width: 100%;
	}

	.zqManginputBox {
		position: relative;
	}

	.inputSearch {
		position: absolute;
		left: 20rpx;
		top: 50%;
		transform: translateY(-50%);
	}

	.zqManageinput {
		border: 1px solid #ccc;
		padding: 20rpx;
		border-radius: 50rpx;
		padding-left: 80rpx;
	}

	.navRight {
		width: 100%;
		text-align: right;
	}

	.bountyItemPrince {
		font-size: 40rpx;
		color: #DD524D;
	}

	.bountyItemUser {
		width: 30rpx;
		height: 30rpx;
		vertical-align: middle;
		margin-top: 5rpx;
		margin-right: 10rpx;
	}


	.flex {
		display: flex;
		margin: 10rpx 0;
	}

	.bountyItemName {
		font-size: 25rpx;
		color: #CCCCCC;
	}
	.bountyItemLable{
		font-size: 20rpx;
		color: #C0C0C0;
		background-color: #F8F8F8;
		display: inline-block;
		padding: 0 20rpx;
		border-radius: 20rpx;
		margin-right: 10rpx;
	}
	.bountyItemTItle{
		font-size: 32rpx;
		color: #333;
	}
	.bountyItemBigBox{
		margin: 30rpx;
	}
	.bountyItemBox{
		border-bottom: 2px solid #F8F8F8;
		padding-bottom: 20rpx;
		padding-top: 20rpx;
	}
</style>
